package com.hskn.hss.module.tlcarmanufacturer.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.entity.AjaxResult;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.tlcarmanufacturer.entity.TlCarManufacturer;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-15
 */
public interface ITlCarManufacturerService extends IService<TlCarManufacturer> {
    AjaxResult insert(JSONObject params) throws HssException;

    AjaxResult update(JSONObject params) throws HssException;

    AjaxResult deletebyid(JSONObject params) throws HssException;

    JSONObject getList(JSONObject params) throws HssException;

    TlCarManufacturer getDetail(JSONObject params) throws HssException;

    List getSelectList();

    Map<String,TlCarManufacturer> getCarManufacturerMap(Wrapper<TlCarManufacturer> wrapper);

    List<TlCarManufacturer> selectList(Wrapper<TlCarManufacturer> wrapper);

    TlCarManufacturer selectOne(String id);
}
